home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Frameworks / Grant's CGI Framework 1.0b12 / Apple Events / AEFunc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-09  |  885 b   |  34 lines  |  [TEXT/CWIE]

  1. #pragma once
  2. /*****
  3.  *
  4.  *    AEFunc.h
  5.  *
  6.  *    This is a support file for "Grant's CGI Framework".
  7.  *    Please see the license agreement that accompanies the distribution package
  8.  *    for licensing details.
  9.  *
  10.  *    Copyright ©1995 by Grant Neufeld
  11.  *    grant@acm.com
  12.  *    http://arpp1.carleton.ca/grant/
  13.  *
  14.  *****/
  15.  
  16. /***  CONSTANTS  ***/
  17.  
  18. #define kAEMyTimeoutInTicks        ((60*60/*1minute*/) * 3/*minutes*/)
  19.  
  20.  
  21. /***  FUNCTION PROTOTYPES  ***/
  22.  
  23.         OSErr        MyGotRequiredParams    ( AppleEvent * );
  24.  
  25. pascal    Boolean        MyAEIdleFunc        ( const EventRecord *, long *, RgnHandle * );
  26.  
  27.         OSErr    AEGetParamString        ( const AppleEvent *, AEKeyword, char **, char *, long );
  28.         OSErr    AEGetParamStringNoAlloc    ( const AppleEvent *, AEKeyword, char *, long );
  29.         OSErr    AEGetParamShort            ( const AppleEvent *, AEKeyword, short *, char *, long );
  30.         OSErr    AEGetParamLong            ( const AppleEvent *, AEKeyword, long * );
  31.  
  32.  
  33. /***** EOF *****/
  34.